﻿using System; 
using System.Collections.Generic;
using System.Text;

namespace AJAXChatClient.Flash.Media
{
    public class SoundLoaderContext
    {
        private int bufferTime;
        private bool checkPolicyFile;

        public SoundLoaderContext() : this(1000, false) { }

        public SoundLoaderContext(int bufferTime) : this(bufferTime, false) { }

        public SoundLoaderContext(int bufferTime, bool checkPolicyFile)
        {
            this.bufferTime = bufferTime;
            this.checkPolicyFile = checkPolicyFile;
        }

        public int BufferTime
        {
            get { return this.bufferTime; }
            set { this.bufferTime = value; }
        }

        public bool CheckPolicyFile
        {
            get { return this.checkPolicyFile; }
            set { this.checkPolicyFile = value; }
        }
    }
}
